- Title
- LogSD: Detecting anomalies from system logs through self-supervised learning and frequency-based masking
- Creator
- Xie, Yongzheng; Zhang, Hongyu; Babar, Muhammad Ali
- Relation
- Proceedings of the ACM on Software Engineering Vol. 1, Issue FSE, no. 93
- Publisher Link
- http://dx.doi.org/10.1145/3660800
- Publisher
- Association for Computing Machinery
- Resource Type
- journal article
- Date
- 2024
- Description
- Log analysis is one of the main techniques that engineers use for troubleshooting large-scale software systems. Over the years, many supervised, semi-supervised, and unsupervised log analysis methods have been proposed to detect system anomalies by analyzing system logs. Among these, semi-supervised methods have garnered increasing attention as they strike a balance between relaxed labeled data requirements and optimal detection performance, contrasting with their supervised and unsupervised counterparts. However, existing semi-supervised methods overlook the potential bias introduced by highly frequent log messages on the learned normal patterns, which leads to their less than satisfactory performance. In this study, we propose LogSD, a novel semi-supervised self-supervised learning approach. LogSD employs a dual-network architecture and incorporates a frequency-based masking scheme, a global-to-local reconstruction paradigm and three self-supervised learning tasks. These features enable LogSD to focus more on relatively infrequent log messages, thereby effectively learning less biased and more discriminative patterns from historical normal data. This emphasis ultimately leads to improved anomaly detection performance. Extensive experiments have been conducted on three commonly-used datasets and the results show that LogSD significantly outperforms eight state-of-the-art benchmark methods.
- Subject
- log analysis; anomaly detection; deep learning; AIOps
- Identifier
- http://hdl.handle.net/1959.13/1515645
- Identifier
- uon:56907
- Identifier
- ISSN:2994-970X
- Rights
- Copyright © 2024 Owner/Author. This work is licensed under a Creative Commons Attribution International 4.0 License.
- Language
- eng
- Full Text
- Reviewed
- Hits: 99
- Visitors: 108
- Downloads: 9
Thumbnail | File | Description | Size | Format | |||
---|---|---|---|---|---|---|---|
View Details Download | ATTACHMENT01 | Publisher version (open access) | 731 KB | Adobe Acrobat PDF | View Details Download |